set(gcf,'Position',[100 100 460 400]);
set(gca,'Position',[.16 .12 .80 .74]);
figure_FontSize=8;
set(get(gca,'XLabel'),'FontSize',figure_FontSize,'Vertical','top');
set(get(gca,'YLabel'),'FontSize',figure_FontSize,'Vertical','middle');
set(findobj('FontSize',10),'FontSize',figure_FontSize);
set(findobj(get(gca,'Children'),'LineWidth',0.5),'LineWidth',2);

y_all=[20.0, 56.8, 83.80000000000001, 94.80000000000001, 100.0, 100.0, 100.0, 100.0;
    20.0, 56.6, 84.60000000000001, 95.19999999999999, 100.0, 100.0, 100.0, 100.0;
    20.0, 56.2, 83.4, 94.80000000000001, 99.60000000000001, 100.0, 100.0, 100.0;
    20.0, 56.0, 78.0, 92.0, 100.0, 100.0, 100.0, 100.0];
b = bar(y_all','FaceColor','flat');
b(1).FaceColor = [0 0.4470 0.7410];
b(2).FaceColor = [0.8500 0.3250 0.0980];
b(3).FaceColor = [0.9290 0.6940 0.1250];
b(4).FaceColor = [0.4660 0.6740 0.1880];
%b(5).FaceColor = [0.6350 0.0780 0.1840];

axis([0,9,0,118]);

set(gca, 'XTickLabel', {'1', '3', '5', '9', '15', '30', '50', '100'})
set(gca,'YTick',[0:20:120]) %y轴范围0-700，间隔100
xlabel('# of Workers')
ylabel('Tracking Coverage (%)')
legend('NLF','MPLF','PCS','MUTA')

% x=1:1:8;%x轴上的数据，第一个值代表数据开始，第二个值代表间隔，第三个值代表终止
% NLF=[20.0, 56.8, 83.80000000000001, 94.80000000000001, 100.0, 100.0, 100.0, 100.0];
% MPLF=[20.0, 56.6, 84.60000000000001, 95.19999999999999, 100.0, 100.0, 100.0, 100.0];
% PCS=[20.0, 56.2, 83.4, 94.80000000000001, 99.60000000000001, 100.0, 100.0, 100.0];
% NWF=[20.0, 56.0, 80.0, 92.0, 100.0, 100.0, 100.0, 100.0];
% my_method=[20.0, 56.0, 78.0, 92.0, 100.0, 100.0, 100.0, 100.0];
% plot(x,NLF,'-+b',x,MPLF,'-om',x,PCS,'-*y',x,NWF,'-^g',x,my_method,'-sr'); %线性，颜色，标记
% axis([0,9,0,100])  %确定x轴与y轴框图大小
% set(gca,'XTickLabel',{'', '1', '3', '5', '9', '15', '30', '50', '100',''}) %x轴范围1-6，间隔1
% set(gca,'YTick',[0:10:100]) %y轴范围0-700，间隔100
% legend('NLF','MPLF','PCS','MBNWS','KM')
% xlabel('# of Candidates')  %x轴坐标描述
% ylabel('%') %y轴坐标描述